import request from '@/utils/request'

// 查询合同评审详细
export function getReview(contractId) {
  return request({
    url: 'lims/contract/review/' + contractId,
    method: 'get'
  })
}

// 修改合同评审
export function updateReview(data) {
  return request({
    url: 'lims/contract/review',
    method: 'put',
    data: data
  })
}

// 合同评审业务信息查询列表接口 
export function getBusinessList(query) {
  return request({
    url: '/lims/contract/review/list',
    method: 'get',
    params: query
  })
}

// 合同评审业务信息查询表格上方数量接口
export function getBusinessCount(query) {
  return request({
    url: 'lims/contract/review/count',
    method: 'get',
    params: query
  })
}